import {RouteRecordRaw, createRouter,createWebHashHistory} from "vue-router"
import Home from '../views/Home.vue'
import Container from '../components/container/src/index.vue'
const routes:RouteRecordRaw[]=[
    {
        path:'/',
        component:Container,
        children:[
            {
                path:'/',
                component:Home
            },
            {
                path:'/chooseIcon',
                component:()=>import('../views/chooseIcon/index.vue')
            },
            {
                path:'/chooseArea',
                component:()=>import('../views/chooseArea/index.vue')
            },
            {
                path:'/trend',
                component:()=>import('../views/trend/index.vue')
            },
            {
                path:'/notification',
                component:()=>import('../views/notification/index.vue')
            },
            {
                path:'/form',
                component:()=>import('../views/form/index.vue')
            },
            {
                path:'/table',
                component:()=>import('../views/table/index.vue')
            },
        ]
    }
   
]
const router=createRouter({
    routes,
    history:createWebHashHistory()
})
export default router